const columns = [
  {
    prop: 'name',
    label: '员工姓名',
    minWidth: '250px'
  },
  {
    prop: 'userGender',
    minWidth: '180px',
    label: '性别'
  },
  {
    prop: 'department',
    minWidth: '180px',
    slot: true,
    label: '所属部门'
  },
  {
    prop: 'roles',
    minWidth: '180px',
    label: '员工角色'
  },
  {
    prop: 'domain',
    minWidth: '180px',
    label: '域账号'
  },
  {
    prop: 'phone',
    minWidth: '180px',
    label: '手机号'
  },
  {
    prop: 'userState',
    minWidth: '180px',
    slot: true,
    label: '状态'
  },
  {
    prop: 'operate',
    minWidth: '200px',
    slot: true,
    fixed: 'right',
    align: 'center',
    label: '操作'
  }
];
const formConfig = [
  { type: 'Input', label: '员工名称', prop: 'name' },
  { type: 'MultipleSelector', label: '员工角色', prop: 'roles' },
  { type: 'Cascader', label: '所属部门', prop: 'department', props: { emitPath: false, checkStrictly: true, value: 'id', label: 'name', expandTrigger: 'hover' }}
];
const errorColumns = [
  {
    prop: 'row',
    label: '行数'
  },
  {
    prop: 'name',
    label: '姓名'
  },
  {
    prop: 'domain',
    label: '域账号'
  },
  {
    prop: 'department',
    label: '部门'
  },
  {
    prop: 'roles',
    label: '角色'
  },
  {
    prop: 'groups',
    label: '小组'
  },
  {
    prop: 'phone',
    label: '手机'
  },
  {
    prop: 'error',
    label: '错误提示'
  }
];
export default { columns, formConfig, errorColumns };
